﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Ccteg.Common
{
    /// <summary>
    /// 安全文化
    /// </summary>
    public class Scl_Scl
    {
        /// <summary>
        ///主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        ///活动类型
        /// </summary>
        public string Methods { get; set; }
       
        /// <summary>
        ///年度
        /// </summary>
        public string Year { get; set; }

        /// <summary>
        ///活动名称
        /// </summary>
        public string CulActName { get; set; }

        /// <summary>
        ///活动时间
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        ///活动地点
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        ///活动简介
        /// </summary>
        public string Intro { get; set; }

        /// <summary>
        ///状态()
        /// </summary>
        public string State { get; set; }

        /// <summary>
        ///备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        ///附件
        /// </summary>
        public string File { get; set; }

        /// <summary>
        ///单位编码(包含二级单位)--
        /// </summary>
        public string CompanyNo { get; set; }
        public string ent_baseinfo_entNo { get; set; }
        
        public ent_baseinfo_ent ent_baseinfo_ent { get; set; }
        /// <summary>
        ///单位名称（包含二级单位）--
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime? CreatedOn { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        public DateTime? ModifiedOn { get; set; }

        /// <summary>
        ///?默认空
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        ///?默认空
        /// </summary>
        public string TenantId { get; set; }

        /// <summary>
        ///排序
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        ///修改人
        /// </summary>
        public string ModifiedBy { get; set; }

        /// <summary>
        ///是否删除（本系统逻辑删除0未删除；1已删除)
        /// </summary>
        public bool? Deleted { get; set; }

       
    }
}
